home *** CD-ROM | disk | FTP | other *** search
- Path: solon.com!not-for-mail
- From: seebs@solutions.solon.com (Peter Seebach)
- Newsgroups: comp.lang.c
- Subject: Re: Q:Hex to Decimal?
- Date: 12 Apr 1996 11:27:10 -0500
- Organization: Usenet Fact Police (Undercover)
- Message-ID: <4km08u$qgo@solutions.solon.com>
- References: <DpqLyJ.8Jy@rci.ripco.com> <4klr9f$29d@news1.mnsinc.com>
- Reply-To: seebs@solon.com
- NNTP-Posting-Host: solutions.solon.com
-
- In article <4klr9f$29d@news1.mnsinc.com>,
- Szu-Wen Huang <huang@mnsinc.com> wrote:
- >Martin Ambuhl (mambuhl@ripco.com) wrote:
- >: sprintf(target_string,"x",(unsigned)your_integer);
-
- >Which prints an "x" to your string and formats your hard disk if you
- >have a mean C compiler. :) Try "%x" as the format string.
-
- Actually, it can't do anything hostile; *printf guarantee that extra arguments
- are ignored.
-
- -s
- --
- Peter Seebach - seebs@solon.com - Copyright 1996 Peter Seebach.
- C/Unix wizard -- C/Unix questions? Send mail for help. No, really!
- FUCK the communications decency act. Goddamned government. [literally.]
- The *other* C FAQ - http://www.solon.com/~seebs/c/c-iaq.html
-